home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 22 / CU Amiga Magazine's Super CD-ROM 22 (1998)(EMAP Images)(GB)[!][issue 1998-05].iso / PowerPC / Archivers / ZLib / HPUX.Install < prev    next >
Encoding:
Text File  |  1998-02-20  |  1.9 KB  |  59 lines

  1. WARNING: Make sure that "what /opt/ansic/bin/cc" reports at least
  2. A.10.32.08 - if not, you must remove optimisation from the source build.
  3. If you compile with "-O" with an unpatched HP ANSI C compiler, then
  4. libpng's "make test" will core dump.
  5.  
  6. Files changed:
  7.  
  8. * ChangeLog:
  9.   - Added an entry to mention these mods because the README suggested I did.
  10.  
  11. * Makefile.in:
  12.   - Set up ANSI flags for HP-UX.
  13.   - Changed RANLIB to be /bin/true.
  14.   - Added SHLIB and ARLIB definitions to make it easier to change.
  15.   - Added libdir and incdir for a "make install".
  16.   - Build a .sl shared library version as well as an archive one.
  17.   - Delete ztest*.c during a "make clean".
  18.  
  19. * configure:
  20.   - Set compile/link flags for HP-UX.
  21.   - Changed prefix for our site.
  22.   - Make sure BOTH static and dynamic libraries can be built.
  23.  
  24. To compile:
  25.  
  26. [Edit prefix in configure for your site]
  27. ksh configure
  28. make
  29.  
  30. To test:
  31.  
  32. make test
  33.  
  34. To install:
  35.  
  36. make install
  37.  
  38. Notes:
  39.  
  40. * What a complete mess the authors have made of this distribution with their
  41.   use of configure ! If I hadn't changed the original setup, you:
  42.   - Could only build EITHER a static OR a shared library, but not both !
  43.   - You couldn't build the shared library with a .sl extension because
  44.     .so.$(VER) was hard-coded everywhere.
  45.   - There were no definitions for "obvious" things like libdir and incdir.
  46.     so you'd have to change numerous occurrences of hard-coded paths.
  47.  
  48. * This is a purely a "gzip library" and is intended for use by other
  49.   application programs (e.g. ImageMagick, mosaic etc) or libraries
  50.   (particularly libpng).
  51.  
  52. * The function call documentation for this library is all contained in the
  53.   zlib.h header file.
  54.  
  55. * You should get the gzip package in /hpux/Gnu if you want to use the "real"
  56.   gzip, because the minigzip supplied here doesn't keep timestamps and isn't
  57.   as robust or feature-laden as the "real" gzip. This is also why neither of
  58.   the 2 example programs are installed during a "make install".
  59.